﻿CREATE TABLE [dbo].[tblUserApplication]
(
	UserApplicationID int identity( 1, 1 ) NOT NULL, 
	UserID int not NULL,
	ApplicationID int not null
)

GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'Defines the Applications assigned to a CSS user.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserApplication';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'The application user', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserApplication',
	@level2type = N'COLUMN', @level2name = N'UserID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'The application assigned to the user', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserApplication',
	@level2type = N'COLUMN', @level2name = N'ApplicationID';
